package com.atguigu.srb.core.mapper;


import com.atguigu.srb.core.pojo.entity.ClubRegistration;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ClubRegistrationMapper extends BaseMapper<ClubRegistration> {

    @Select("SELECT * FROM club_registration WHERE community_number = #{id} ANd is_deleted = 0 ")
     List<ClubRegistration> getClubList(@Param("id") String id);

}
